
<!DOCTYPE html>
<html>
<head>
	<title>Sistema Gensal<?php if(isset($subTitulo)){echo(" - ".$subTitulo);}?></title>
	<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
</head>
<body>
	<div id="mensagem">
		<?php 
			if($this->session->flashdata('msg')){
				echo($this->session->flashdata('msg'));
			}
		?>
	</div>
	<div>
		<?php echo(form_error('login'));?>
		<?php echo(form_error('senha'));?>
		<form action="<?php echo($action);?>" method="post">
			<table>
				<tr>
					<td>Login</td>
					<td><input type="text" name="login" maxlength="20" required="required"></td>
				</tr>
				<tr>
					<td>Senha</td>
					<td><input type="password" name="senha" maxlength="12" required="required"></td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" value="Logar">	</td>
				</tr>
			</table>
	</form>
	</div>
</body>
</html>